package model.game.npcs;

import controller.link.game.OpenSeller;
import java.io.Serializable;
import java.util.ArrayList;
import model.game.Item;
import model.game.NPC;
import model.game.Seller;
import model.game.items.LifePotion;
import model.Attendant;
import model.Server;

public class Vendor extends NPC implements Seller, Serializable{
    private ArrayList<Item> items;
    public Vendor(String name){
        super("Vendedor "+name, "Aproveite as ofertas.");
        items = new ArrayList<Item>();
        items.add(new LifePotion(null, null));
    }

    @Override
    public void showInventory(Server server, Attendant at) {
        OpenSeller os = new OpenSeller(items);
        os.serverUse(server, at);
    }

    @Override
    public void sell() {
    }

    
}
